.wrapper(){
  width: 1090px;
  margin: 0 auto;
};

.title(){
  margin-top: 8px;
  width: 100%;
  height: 60px;
  background: #d22147;
  text-align: center;
  line-height: 60px;
  font-size: 28px;
  color: white;
}

.font1(@size:31px,@color:dimgray){
  line-height: @size;
  font-size: 12px;
  color: @color;
  text-align: center;
};
.spans(){
  position: absolute;
  height: 12px;
  border-right: 1px solid dimgray;
  top:10px;
  right: 0px;
};
.transan(){
  position: absolute;
  width: 0px;
  height: 0px;
  border: 4px solid transparent;
  border-top: 4px solid dimgray;
  top: 13px;
  right: 10px;
  transform-origin: top center;
};
body,html{
  width: 100%;
  height: 100%;
}

#head {
  width: 100%;
  .htop {
    width: 100%;
    background: #f2f2f2;
    position: relative;
    img {
      width: 100%;
      cursor: pointer;
    }
    .orange {
      height: 100%;
      width: 100%;
      position: absolute;
      top: 0px;
      left: 0px;
    }
    > a:hover .orange {
      background: orange;
      opacity: 0.2;
    }
  }
  .hnav {
    background: #f2f2f2;
    position: relative;
    top: -3px;
    .wrapper {
      .wrapper();
      .hnavl {
        float: left;
        li {
          float: left;
          cursor: pointer;
          .font1();
          margin-left: 20px;
          a {
            color: dimgray;
          }
          a:hover {
            color: red;
          }
        }
        li:nth-of-type(1) {
          margin-left: 0;
        }
        li:nth-of-type(3) {
          margin-left: 16px;
          position: relative;
          span {
            position: absolute;
            height: 12px;
            border-right: 1px solid dimgray;
            top: 10px;
            left: -8px;
          }
        }
        li:nth-of-type(4) {
          position: relative;
          span {
            color: red;
            font-size: 12px;
          }
          a {
            .plonecode {
              position: absolute;
              width: 106px;
              height: 106px;
              top: 31px;
              left: 0;
              background: white url("../../img/img-code/2dcode-app3.jpg");
              background-size: cover;
              z-index: 2;
              display: none;
              p {
                margin-top: 108px;
                .font1(18px, red);
                background: white;
              }
              p:nth-of-type(2) {
                margin-top: 0px;
                background: white;
              }
            }
          }
          a:hover .plonecode {
            display: block;
          }
        }
      }
      .hnavr {
        float: right;
        li {
          float: right;
          padding: 0 20px 0 10px;
          position: relative;
          div {
            padding: 0 8px;
            background: white;
            position: absolute;
            top: 31px;
            left: 0;
            display: none;
            z-index: 2;
            p {
              word-break: keep-all;
              a {
                .font1();
                line-height: 20px;
              }
              a:hover {
                color: red;
              }
              span {
                .font1();
                line-height: 20px;
              }
            }
          }
          a {
            .font1();
            margin-left: 3px;
            i {
              .transan();
              transition: all .5s;
            }
            span {
              .spans();
            }
          }
          a:hover {
            color: red;
          }
        }
        li:hover i {
          transform: rotate(180deg);
        }
        li:nth-of-type(7) {
          .flag {
            font-size: 12px;
            color: #8c0000;
          }
        }
        li:nth-of-type(1) {
          p:nth-of-type(1), p:nth-of-type(4), p:nth-of-type(5) {
            border-bottom: 1px solid lightgrey;
          }
        }
        li:nth-of-type(5) {
          p:nth-of-type(2), p:nth-of-type(4), p:nth-of-type(6) {
            border-bottom: 1px solid lightgrey;
          }
        }
      }
    }
  }
}

#body{
  .wrapper {
    .wrapper();
    .logo{
      padding: 30px 0;
    }
    .myshop1{
      position: relative;
      width: 100%;
      span{
        position: absolute;
        right: 0;
        top:0;
        input{
          border: 1px solid dimgrey;
        }
      }
    }
    .bbbt {
      padding: 8px 0;
      font-size: 14px;
    }

    ul{
      border: 1px solid #ddd;
      box-sizing: border-box;
      overflow: hidden;
      li:nth-of-type(7){
        width: 1085px;
        border-top: solid 1px #ddd;
        text-align: right;
        margin-top: 15px;
        i{
          font-size: 14px;
          font-weight: 700;
          color: black;
        }
        span:nth-of-type(1){
        margin-left: 600px;
      }
        span{
          margin-left: 10px;
          margin-right: 10px;
        }
      }
      li{
        width: 130px;
        float: left;
        text-align: center;
        font-size: 12px;
        color: darkgray;
        padding: 10px 0;
        img{
          width: 80px;
        }
      }
      li:nth-of-type(1){
        font-size: 16px;
        color: black;
      }
      li:nth-of-type(3){
        p{
          margin-top: 20px;
        }
        p:nth-of-type(1){
          text-decoration: line-through;
        }
        p:nth-of-type(2){
          color: black;
          font-size: 16px;
          font-weight: 700;
        }
      }
      li:nth-of-type(6){
        p{
          margin-top: 20px;
          cursor: pointer;
          color: black;
          text-align: left;
        }
      }
      li:nth-of-type(5){
          p{
            margin-top: 30px;
            font-weight: 700;
            font-size:16px;
            color: black;
          }
      }
      li:nth-of-type(4){
        position: relative;
        span{
          border: 1px #ddd solid;
          width: 90px;
          height: 22px;
          position: relative;
          display: block;
          margin-top: 20px;
          input{
            width: 50px;
            height: 22px;
            position: absolute;
            top:0;
            left: 0;
            padding-left: 40px;
          }
          i:nth-of-type(1){
            position: absolute;
            width: 22px;
            height: 22px;
            top:0;
            left: 0;
            border-right: 1px #ddd solid;
            text-align: center;
            line-height: 22px;
            cursor: pointer;
          }
          i:nth-of-type(2){
            cursor: pointer;
            position: absolute;
            width: 22px;
            height: 22px;
            top:0;
            right: 0;
            border-left: 1px #ddd solid;
            text-align: center;
            line-height: 22px;
          }
        }
      }
      li:nth-of-type(2){
        width: 430px;
        text-align: left;
        P{
          margin-top: 20px;
        span{
          background: red;
          color: white;
          font-weight: 600;
          display: block;
          width: 15px;
          line-height: 15px;
          text-align: center;
          float: left;
        }
      }
      }
    }
    .jjss{
      margin-top: 30px;
      background: #F8F8F8;
      padding-bottom: 0;
      padding: 0;
      li{
        padding: 0;
        text-align: left;
        line-height: 66px;
        div{
          line-height: 20px;
          font-size: 12px;
          text-decoration: none;
          color: black;
        }
      }
      li:nth-of-type(3),li:nth-of-type(5){
        line-height: 46px;
      }
      li:nth-of-type(2){
        width: 130px;
        margin-left: 250px;
      }
      li:nth-of-type(6) {
        text-align: center;
        color: white;
        font-size: 16px;
        font-weight: 700;
        background: darkgray;
        float: right;
        cursor: pointer;
      }
      li:nth-of-type(5){
        width: 180px;
        i{
          font-weight: 700;
          font-size: 16px;
          color: red;
        }
      }
    }
    .datee{
      ul{
        padding:40px 0 0 0;
        li{
          input{
              position: relative;
              top:-30px;
              width: 15px;
               height: 15px;
            line-height: 70px;
          }
        }
      }
    }
  }
}

#foot {
  background: #333333;
  margin-top: 30px;
  padding-top: 20px;
  padding-bottom: 20px;
  .wrapper {
    .wrapper();
    ul {
      overflow: hidden;
      li {
        float: left;
        padding: 0 20px;
        position: relative;
        a {
          color: darkgray;
          font-size: 13px;
        }
        span {
          position: absolute;
          right: 0px;
          border-right: 1px darkgray solid;
          height: 13px;
          top: 5px;
        }
      }
    }
    p:nth-of-type(1) {
      margin-left: 120px;
      margin-top: 10px;
      span {
        color: darkgray;
        font-size: 12px;
        margin-left: 40px;
      }
      a {
        color: darkgray;
        font-size: 12px;
        margin-left: 40px;
      }
    }
    p:nth-of-type(2) {
      margin-left: 240px;
      margin-top: 5px;
      position: relative;
      img{
        height: 16px;
        position: absolute;
        left: 20px;
        top:3px;
      }
      span{
        color: darkgray;
        font-size: 12px;
        margin-left: 25px;
      }
      a{
        color: darkgray;
        font-size: 12px;
        margin-left: 40px;
      }
    }
    p:nth-of-type(3){
      margin-left: 400px;
      margin-top: 5px;
      position: relative;
      img:nth-of-type(1){
        height: 27px;
      }
      a{
        margin-left: 5px;
        img:nth-of-type(2){
          height: 30px;
          margin-left: 10px;
        }
      }
    }
  }
}